<?php
	$tool_buttons = array
	(
		'list_button' => array
	   	(
			'image'=>'btnListLarge.gif', 
		   	'text'=>LANG_LIST, 
		   	'url'=>'/'.$this->name.'/index/'
	   	),
	    'edit_button' => array
       	(
			'image'=>'btnEditLarge.gif', 
		   	'text'=>LANG_EDIT, 
		   	'url'=>'/'.$this->name.'/edit/'.$this->data[$this->name][id]
	   	),
	   	'add_button' => array
		(
			'image'=>'btnPermissionsLarge.gif', 
			'text'=>LANG_ACCESS, 
			'url'=>'/system_access/view/' . $this->data[$this->name][id]
		)	
	);
	$this->helpers->htmlx->MenuText1(LANG_ROLES.': '.LANG_VIEW, "view.gif");
	$this->helpers->toolbars->Toolbar($tool_buttons);
	echo "<table class='eva'>";
	 	$this->helpers->htmlx->inputTextRow(LANG_TITLE, 'name', $this->data[$this->name][name], 'disabled="disabled"');
	 	$this->helpers->htmlx->textareaRow(LANG_DESCRIPTION, 'description', $this->data[$this->name][description], 'readonly="readonly"');
	echo "</table>";
?>